using I2.Loc;
using UnityEngine;

public class NewReputationRewardPanel : MonoBehaviour
{
	public UISprite titleSprite;

	public UILabel titleLabel;

	public void Init()
	{
		titleSprite.spriteName = GameplayRewardManager.instance.reputationLevels[ProfileCounters.instance.currentReputationLevel].iconName;
		titleLabel.text = ScriptLocalization.GetReputationLocalizationText(GameplayRewardManager.instance.reputationLevels[ProfileCounters.instance.currentReputationLevel].name);
	}

	public void Close()
	{
		base.gameObject.SetActive(false);
	}
}
